home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / X11 / Fresco / build / Unix / config / imake / Makefile.ini < prev    next >
Encoding:
Makefile  |  1995-07-12  |  1.3 KB  |  57 lines

  1. # $XConsortium: Makefile.ini,v 1.20 93/09/04 16:08:40 rws Exp $
  2. #
  3. #   WARNING    WARNING    WARNING    WARNING    WARNING    WARNING    WARNING
  4. #
  5. # This is NOT an automatically generated Makefile!  It is hand-crafted as a 
  6. # bootstrap, may need editing for your system.  The BOOTSTRAPCFLAGS variable
  7. # may be given at the top of the build tree for systems that do not define
  8. # any machine-specific preprocessor symbols.
  9. #
  10.  
  11. BOOTSTRAPCFLAGS = 
  12. CC = cc
  13. CDEBUGFLAGS = -O
  14. INCLUDES = -I../../include
  15. CFLAGS = $(BOOTSTRAPCFLAGS) $(CDEBUGFLAGS) $(INCLUDES)
  16. SHELL = /bin/sh
  17. RM = rm -f
  18. MAKE = make
  19. RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a \
  20.      tags TAGS make.log
  21. NPROC = 1
  22.  
  23. imake::
  24.     @echo "making imake with BOOTSTRAPCFLAGS=$(BOOTSTRAPCFLAGS)"
  25.  
  26. imake:: imake.o
  27.     $(CC) -o imake imake.o
  28.  
  29. imake.o: ccimake imake.c
  30.     $(CC) -c $(CFLAGS) `./ccimake` imake.c
  31.  
  32. ccimake: ccimake.c
  33.     $(CC) -o ccimake $(CFLAGS) ccimake.c
  34.  
  35. relink:
  36.     $(RM) imake
  37.     $(MAKE) $(MFLAGS) imake
  38.  
  39. clean:
  40.     $(RM) ccimake imake.o imake
  41.     $(RM_CMD) \#*
  42.  
  43. depend:
  44.  
  45. imake.exe::
  46.     @echo making imake with BOOTSTRAPCFLAGS=-DWIN32
  47.  
  48. imake.exe:: imake.obj
  49.     cl -nologo -batch imake.obj libc.lib kernel32.lib
  50.  
  51. imake.obj: imake.c
  52.     cl -nologo -batch -W2 -D__STDC__ -c -DWIN32 $(CFLAGS) imake.c
  53.  
  54. clean.Win32:
  55.     if exist imake.exe del imake.exe
  56.     if exist imake.obj del imake.obj
  57.